Update wrapper to match the current API. Explicitly ask for JSON data. Allow filters to be specified.