JParser modified

There are 2 functions you are interested in mapToString and stringToMap,
please test with you code.