adjust rest handler baseclass to output only the object fields that matter