added RestJsonException to interface methods