added id back into json object