Improvement to Consumes Deserialization

Related: #713 and #657
I didn't find it...

The interface `DeserializerConfig` was created in this PR.