Fixed bug in generation of return type for list key properties.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
Merge "Fixed bug in generation of return type for list key properties."