added json serialization interface for result objects with protected object properties