Adding payload object for plot resource and example project