Get the 'consumer' in a correct way for retyping with qos-specs

The qos specs returned from the database does not contain the
property "qos-specs". Intead, the property "consumer" can be accessed
directly.

Change-Id: I3fe57e5cc20a97d32c8b8c6089ab1e812257da45
closes-bug: #1389519
Merge "Get the 'consumer' in a correct way for retyping with qos-specs"