Added support for parsing JSON objects as associative arrays (fixes #8)