- receive JSON on REST endpoint