refactor node_info methods

adding base function that returns raw nodes json.
this can be useful for external tests that want more
info about a node besides hostname and otpName

Change-Id: I94cc9a34867d4f7a3f4ac1627a5f59df98ea297c