fixed has_many to_json