tweaked relationship json format and added some test cases to be considered (skipped for now)