took out extra to_json from items controller