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