Process Map values from JSON and XML files