Issue casting a REST request object to an OpenMRSObject

Hey @insiderish, Can you provide a stack trace, the version of webservices.rest that you are using and the call made, so that the issue can be reproduced?