Translates between JSON and XML formats