recent version of libjson has remove is_error which was checking