Fix nesting of response in inner API front controller