AS3/JSON serializer/deserializer