correcting JSON true false in dictionaries