reformated the json to include properties