Fix support for nested proplists and nested JSON.