fixing json links
add farraday middleware
add api client logic for reverse match add