No need to have different classes for json vs lock