added support for json translator
bug fixes