JSON formated job

Property definitions

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
lib/neo4j/neo4j.nit:1006,2--1016,4