Update EdcRestExample.java

Small change to JSON publish action.