add getRecord method
make validate hack compatible
remove ArrayIterator from markdown and update tests
fix interface
null as default