Basic support for maps and struct validation