Check that 'text' field isn't an object before parsing