Created json calls with raise exception handling