Modified response to return json in education controller