{
Types nextNodeType = null;
Object nextNode = null;
if(node instanceof JSONObject) {
JSONObject _node = (JSONObject)node;
for(Iterator it = _node.keys(); it.hasNext();) {
String next = (String)it.next();
if(next.equals("apply") && level == 0)
continue;
if(next.matches(".*[^a-zA-Z_0-9\\-$].*"))
throw new RuntimeException("Bad characters found in key, \""+next+"\"");