Convert code to use json module

Registered by aj00200

There is a lot of code which outputs JSON but does not use the json module to output it. Instead, it is hardcoded in as template strings.

This code should be converted to use json.dump and/or json.dumps.

Instances:
 libs.friends.save_friends()
 libs.friend.Friend._json()

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Vomun Developers
Direction:
Needs approval
Assignee:
Vomun Contributers
Definition:
Approved
Series goal:
Accepted for 0.0.0
Implementation:
Implemented
Milestone target:
milestone icon build-7
Started by
Romain Sertelon
Completed by
aj00200

Sprints

Whiteboard

Targeting for release in build-7. I will submit a merge request and review the code soon to make sure that it is compatible. --Aj00200

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.