added export of account information as JSON, added opened and pending trades as JSON