removes extra data from .json