json/json5 body parsing middleware