Use URI instead of manual parsing, close #1153
Dump with proper encoding, close #1155
Rename recorder config simulation block into core