Splits an object literal string into a set of top-level key-value pairs