BUG-861: Fixed bug in generation of return type for list key properties.

Signed-off-by: Martin Vitez <mvitez@cisco.com>