using jackson for serialization, default JsonBuilder had stackoverflow bug with some hierachies