python create json string with variables