added xml & json representation