- possible problem with DateTime-strings coming from remote

- possible problem with DateTime-strings coming from remote
- added some missing type-hints to detect possible type-errors