Add resyntax fix --output-as-json flag
#675
Merged
resyntax fix --output-as-json flag
#675