<%= JSON.pretty_generate(@object.attributes.reject { |k,v| k == 'id' }) rescue nil %>