More robust parsing. Need to deal with complex objects.
Make more robust, if keys missing.