test json to pojo n read back again