fix json_encoder function clause
Merge branch 'master' of https://github.com/deliverly/deliverly-core