populating aws response values as json