code: public static ArrayNode getArrayAndRemove(ObjectNode obj, String fieldName) {
  		ArrayNode result = null;
  		if (obj != null) {
  			result = array(remove(obj, fieldName));
  		}
  		return result;
  	}
docs: Removes the field from a ObjectNode and returns it as ArrayNode