replace map with a pair list
differently output and test json
Merge pull request #1336 from spechub/json_maps_as_pairlists

Json maps as pairlists