refactor($parse): clean up object literal fn

No measurable impact on performance