Yeah, you need to explicitly call to_json otherwise the object is converted to String via its to_s implementation, which in this case returns IP / MAC.
Yeah, you need to explicitly call to_json otherwise the object is converted to String via its to_s implementation, which in this case returns IP / MAC.