Added JsonSerializable interface to DomainObject
Added Test for new implementation of JsonSerializable in DomainObject class