Added Basic JSON API (only C and R)

I'm currently trying to implement this another way. Let me test.