Using setStatus instead of sendError so that Tomcat doesn't intercept output.
Converting related domain class but not relationship collection.