attempting to work with JSON

using tutorial, not sure if correctly working, full of bugs :|