core: Correctly track JSON reader state when cloning nodes
core: Correctly track JSON reader state when cloning nodes

It is not safe to call json_reader_get_member_name() after recursing the
parser state, so we have to copy the list of member names before
iterating.

pwithnall/libgdata,pwithnall/libgdata,GNOME/libgdata