Add missing requirement
Use json encoder/decoder from utils
Remove unnecessary imports