add support for json parser