just found a js bug in my code because i was mixing up json and python repr. so subtle.