On a quest for a better JSON API