fix(parseJSON): do not fail if data is null