Incorporate JSON parser
Fix missing terminating null char
Print key or value