Use JSON's #to_json instead of Collection.
Merge pull request #3 from mastahyeti/to_json_args

Use JSON's #to_json instead of Collection