clash of clans api - removed extra whitespaces and new lines