Set all serialization/deserialization annotations on base object instead of all properties.