Added support to JSONConverter to generateJSON when the value is a Map.