Convert nested properties

fixes #49