create a js wrapper around it and parse dates on js instead (current parsing was failing on linux)