Update of AFP COOL DB for alignment constants, using JSON and a single channel instead of multiple channels. Also updated macro for testing of reading from such DB.
tagging @ladamczy, @formica