One more tweak to the boilerplate apiParser middleware.