FasterXML/jackson-module-hibernate — pull request #19 by goldenalfer (2012-08-16 04:40:56+00:00)
Title: SERIALIZE_IDENTIFIER_FOR_LAZY_NOT_LOADED_OBJECTS

When you activate this option, the proxy object serializes it's ID
instead of null

hibernate4 version