collection @recordings

attributes :id, :description, :public

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