[#58757756] change orders controller to support json calls