fixed object literal parsing

@david-davidson ended up having to do some regex foo to get it to parse properly.