Update template & properties merge

Now accept a JSON as property
Add a way to get a reference's property

ie: {type: ‘Reference’, value: ‘reference_name.property_name’}