added options defaults to as_json
usiing nil instead of empty hash
Merge pull request #1 from bluetwin/as_json_options

Adding default options to as_json method