change db serialize / unserialize using JSON