JSON to the rescue.
use Data::Dump qw/dump/; # Debugging only
my $raw = <>; # Raw JSON text from your post
my $decoded = decode_json $raw;
# dump $decoded; # Whole mess
While a discussion of Unicode is beyond the scope of this post, be aware that you will probably have to deal with some kind of source encoding, like utf8, but don't count on it.