Re factored, prepared get data from JSON