even more JSON

full compliance with https://gist.github.com/MadhATTER6/6255721 on
server side