Better commandline handling and stability

* Don't use require for JSON parsing
* Ignore unknown methods (can be used for commenting)