move task serializer from service to domain class

tasx-23
define date format in configuration file

tasx-23