fix strip uri_type from JSON - must parse first