revert back to json for display page