Remove trailing whitespaces from meta JSON files