Changed 'class', 'type' and 'image' key to 'hero', 'category' and 'image_url' to be more descriptive and to avoid conflicts with Rails etc.