Allow parsing of JSON starting from root and bug fixes.