Customizing JSON representation of Recipes#index by overriding the as_json method