Add optional param to getJson.