updates to json return type