Should this be the Object.keys() ? instead of passing it to a library