add a custom middleware to convert text/plain content-type into application/json in order for Parse client to work with Loopback