extended_json_list_t -> extended_json_deque_t

That name makes more sense.
Make head and pop be private.

They weren't used publicly anyways.