fixes #6215 - do not pass full objects to rabl