homemade json library for golang