Filter other_names in json transform method

If the ?at parameter is given then we filter out the other_names entries
which wouldn't have been present on the given date.
Filter memberships when ?at parameter is present

As well as filtering the other_names property, we want to filter a
record's memberships when the ?at parameter is present.