JSON declaration based backend validation framework