Added initFunc to parse an object without a key