fix simple value json serialization