Adds format_keys function which optionally camelizes or underscores the ...

...serialized output based on whether or not specific settings are set. It also pluralizes the resource name based on a setting.