reformatted result as json