Rails gem for extending functionality to method "to_json"