main script updated so that whenever a json object is expected and not found the default would be {}. So we do not need to have e.g. empty failures. Changes reflected also in several ropologies