playing around with new options for JSON

One idea is to put all of the options in a single struct, as seen here
options struct for xml
indenting some code
Finishing up options
see #64
Merge branch 'new_options' into develop
Fixes related to changes for #64