Updated code to return a diff as well, kept full return for validation purposes (#1324)