also return other literalOutput data types for WPS

Maybe you should also use `toLowerCase()` here.