Added v-style support for objects

Added v-style support for objects