fixed JSON serialization of TPersistent fields within an object