changed routes.rb to map xobject to object, to account for reserved word Object issue