allow sort expression to be passed in as JSON
allow sort expression to be passed in as JSON