Handle json using filter