fixed JsonMapping::toString method