Standardize the way resource entity representations serialize into JSON.