change mapping file format to make it simpler