HTTP: improved returned JSON removing formatting