$formatId, 'name' => (string)$format['name'], 'xml' => $format->asXML()); } } } } } return $response->setData($formats); } }