Skip function inside object while encoding, just like JSON.