json.loads handling single quotes