tried to set the ref to be serialized in the before_serializer hook rather than the route handler, didn't work so well. here's a minimized version to show the problem: code: http://pastebin.com/5Gg3CSQS output: http://pastebin.com/wmcFwbaZ bug?