change errors paths to json pointer syntax
add error codes