make Bio::JBrowse::JSON, that emits better JSON syntax errors, and use it in perl scripts.  fixes #214