json.architectures @arches do |arch| json.(arch, :id, :name) end