Change raw elements to use parser
Add test for valueType element option