fixed formatting of results json