JSON serialization error fixed and added test for it.
ORA-195
Merge pull request #2058 from edx/waheed/ora195-json-serialization-error-fix

JSON serialization error fixed.