added message formatter and tests for invalid json list syntax
Merge remote-tracking branch 'origin/validation' into validation