I recently discovered that the 'Parse as Data Type' functionality in the API does not support Date and Reference data types.
It only supports boolean, text, integer, and possibly a few more.
I had to convert the unsupported types by first parsing them as integers and text using custom functions, which look like this:
Please let me know if there is a better way to do this, or when FF has fixed this issue.