Added JsonRequest middleware