Improvement to Consumes Deserialization

Related: #713 and #657
Ok @Turini.

Thanks.