add type to pojo property