Removed unnecessary import of the marked module in json middleware