Fixed some encoding and missing date property bugs.