Validation errors now return an array of JSON paths instead of a string

Fixes #4