[BUGFIX] Remove header code from REST plugin