update falcon dev tool
added missing application/json header
unify json error output
code reformat