first steps towards reading from json