How do you deal with a JSON that can have a property that has a type of object or null? So basically: { something: MyObject || null } how do you define the serializer?