parse json into a generic Value