A pull request has been done so that the quaternion form can be returned. Could you please accept the pull request? Thanks.