Remove <key>.<type> key when typecasting