patch data files so they can be correctly parsed on Android