changing from gson to flexjson