json mappings tests