AMEND: Added links prop to accept a json structure