implements \Serializable, \JsonSerializable, adds __debugInfo() & __toString

this should allow the ServiceWrapper to be included in logs