from gson to flexjson, added some fixes