Function formatNodeStatusObject