neo4j :: NeoJob :: to_rest
# JSON formated job fun to_rest: JsonObject do var job = new JsonObject job["id"] = id job["method"] = method job["to"] = to if not body == null then job["body"] = body end return job end