XML and Json transform and serializer(deserializer) with objects