data formatted to correct json