Re-organize into a proper Julia module.
Use actual JSON parsing.