Apply member options to 'to_json' method