Changes in json structure forming upon each call to API