Include parse errors in the JSON output (closes #16)