Created a JSON properly instead of string parsing. Also a.