Converts mapmapper xml to json