Addsource jsonrpc

Took out the addsource jsonrpc from the headless addition. @Montellese to review
I think you need to add a `"required": "true"` to `{ "$ref": "Array.String" }`. It's a bit ugly but I couldn't be bothered to change it in the parser.