json.extract! attachment, :id, :created_at, :updated_at, :file_file_name, :file_content_type, :file_file_size, :file_updated_at, :type, :creator_type, :creator_id, :url, :creator_name