datetime and boolean encoding in the result