Typed JSON parser for ActionScript