Support property ids as values

This requires a custom JSON deserializer for Jackson and some changes in
the class structure.