Json parsing now works