add filename key to json response