input data - now in jSON