Added primary data type with lenses and JSON conversion.