Improvement to Consumes Deserialization

Related: #713 and #657
inject it