use new modules with json_get_length