Testing getting contents from JSON