Ficing JSON bugs for integration with rack