enhance json_encode/json_decode support
fix sql conflict with other mod when search