add form var parser
add core form vars and support array_replace function