Slow operation - json string to python object