omitempty on json basesobject