Move f* functions out of tokenSpecs
Refactor parseObject