json decoding and items filter