Created an abstract JsonCommandHandler in order to remove code duplication in operator API commands