type is now string, no need to convert
decode uri record