WORKING sending pdf in json object