Changes for webapp API to server correct json