add flexjson and change controller response to json