Fixes adding info to json