add resolution to json