Intermediate solution to parseObject