handle "upload" type by ignoring it
handle namespace property correctly