More optimisations for parsing dates. Added json test in playground