Configuring properties to be stored as a nested hash