Implemented target summary method. Used pretty print for JSON in specs