KEYCLOAK-274 Compact JSON String.  Get resource name from DMR.