use withObject/withText for better type matching
types: move base64url integer types into Types module
simplify parsing of base64 encoded values
simplify encoding of base64 encoded values