to_json with collection works.