Adds support for object references
Improve `serializes` spec helper to be non-blocking