Add JSON filters and pickling