_gnode as full JSON object representation implemented
some cleanup