replace empty []interface{} with []struct{} this prevents it from being replaced by 'null' in json's Marshall-method