Fix parsing of date type
Fix parsing of date type

This required a decent amount of changes to various function signatures, namely adding a return error. That's the vast majority of this commit, with a few changes with shadowed returns and whatnot

TheJumpCloud/jcapi,TheJumpCloud/jcapi