Add json format of returned objects