#1005 - Extract parser to json of encounters
#1005 - Extract parser to json of encounters to ParserEncounterToJson
#1005 - Add to test assert of check if the user can edit an encounter and refactor of test