fixed the bug, for real.

apperently a empty [] gets converted into "" by JSON.parse