object @recording

attributes :id, :description, :public

unless @recording.genres.nil? || @recording.genres.size == 0
  child :genres => :genres do
    attributes :id, :description
    #partial('api_genres/index', :object => @recording.genres)
  end
end