reformat attributes based on actual json feed