add json utilities and json reader