I think about adding an appropriate parameter. If this parameter equals null, the entity-entry of the JSON will be used instead. Problem is: what if the given entity-id given by the parameter contradicts the JSON?