test(json): test mapping object to json

- test mapping from scrip language maps to json (excluding javascript due
  to mapping problems Jackson has with Nashorn's representation of
  javascript objects and arrays)

related to CAM-2431