NXP-11288 correct return code to match JSON mimetype