Fixed typo in JSON->map code
Updated docs