debug panel : change json_encode/decode to serialise/unserialise to prevent non-UTF characters error
debug panel : changed .json to .php
Merge pull request #999 from iJackUA/debug-panel-serialisation-fix

Debug panel : change json_encode/decode to serialise/unserialise