refactored equals method.
Added a mapper feature to convert strings to custom objects.
added test testRequestJson
refactored some tests