Adds map options
Overwrite toJSON method