add handlers to catch validation errors (specifically arrays)
Merge pull request #8 from jessefulton/master

add handlers to catch validation errors (specifically arrays)