refining json representation of first.py