rearrange key order, change month to array