doing JSON stuffs

The indentation might be fucked, but it's valid.