activity import for the new json encoding