create json from two