reverted back to PHP json_encode

.. converting json string to number in javascript instead:

{ series: ["1","3","6"].map(Number) }