Adding requirements and fixing json pickle code