Update README.md

added infos how to return errors as json