Allow to disable stringification in toJSON()