Parsing JSON body with filter code