trying to get filtering to work
fixing json error
fixing filtering, fixes #35