half finished minimalist json parser