Config - Added JSON-Formatting Optional Parameters

- Allows the use of keyorder and other such options
Config - Added JSON-Formatting Optional Parameters (with check)

- Added check to ensure 'options' is being passed correctly, as a table
Config - Added JSON-Formatting Optional Parameters (cleaned up code)

Guess there's no need to indent that :p
Merge pull request #34 from Gliktch/patch-5

Config - Added JSON-Formatting Optional Parameters