optimization in copying preformatted json data in json serializer