improve json parsing in Firefox bookmark consumer