added support for object literal syntax