Moved some parse logic over to the ResourceEntityMapper.