Added v-style support for objects

Added v-style support for objects
Merge pull request #608 from skovhus/v-style-for-object

Added v-style support for objects