example of go api generating json responding to a complex set of filters