Convert deserialized PHP object (stdClass) into custom Characters object. I want mirrored Object representation on both client and server end.