Added an options parameter to the :to_json serialization method that rails rending requires.
Merge pull request #1075 from nucleoid/master

Added an options parameter to the :to_json serialization method that rails rending requires.