M. Deinum is right, the setup i've provided is working - the yml file was indented wrong, so the property couldn't be found.