Made changes to receive extension and added tests.
- Expose JValue as the argument to receive to make parsing easier.
- Added functional tests for new receive feature