Added improved support for nested lists and datetimes

Signed-off-by: Chris Bunney <chrisbunney@dsp.io>